package com.jiyun.controller;

import com.jiyun.service.ChartsService;
import com.usian.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/app/charts")
public class ChartsController {
    @Autowired
    private ChartsService chartsService;

    @RequestMapping("findPage")
    public List<User> findPage(){
        return chartsService.findPage();
    }
}
